package com.liu.springmvc.view;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @author LIU
 * @version 1.0
 * @date 2024/5/16 17:40
 * @description TODO
 */
public interface View {

    /**
     * 渲染方法
     * @param model
     * @param request
     * @param response
     */
    void render(Map<String,?> model, HttpServletRequest request, HttpServletResponse response) throws Exception;
}
